package com.ruoyi.finance.gift.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 打赏礼物对象 sz_gift
 *
 * @author wangmh
 * @date 2023-10-13
 */
public class SzGift extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 礼物名称
     */
    @Excel(name = "礼物名称")
    private String name;

    /**
     * 平台价格/金币
     */
    @Excel(name = "平台价格/金币")
    private BigDecimal platformPrice;

    /**
     * 真实价格/元
     */
    @Excel(name = "真实价格/元")
    private BigDecimal realPrice;

    /**
     * 图标
     */
    private String icon;

    /**
     * 图标svg
     */
    private String iconSvg;

    /**
     * 分类
     */
    private String type;

    @Excel(name = "分类")
    private String typeName;

    /**
     * 标签
     */
    @Excel(name = "标签")
    private String lable;

    /**
     * 是否上架
     */
    private String isListing;

    @Excel(name = "是否上架")
    private String isListName;

    /**
     * 上架时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime upListingDate;

    /**
     * 下架时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime underListingDate;

    /**
     * 是否支持连击
     */
    private String isDoubleClick;

    @Excel(name = "是否支持连击")
    private String doubleClickName;

    /**
     * 是否有赠送动画
     */
    private String isAnimation;

    /**
     * 赠送动画地址
     */
    private String animationUrl;

    private Integer porder;


    public Integer getPorder() {
        return porder;
    }

    public void setPorder(Integer porder) {
        this.porder = porder;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPlatformPrice(BigDecimal platformPrice) {
        this.platformPrice = platformPrice;
    }

    public BigDecimal getPlatformPrice() {
        return platformPrice;
    }

    public void setRealPrice(BigDecimal realPrice) {
        this.realPrice = realPrice;
    }

    public BigDecimal getRealPrice() {
        return realPrice;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getIcon() {
        return icon;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setLable(String lable) {
        this.lable = lable;
    }

    public String getLable() {
        return lable;
    }

    public void setIsListing(String isListing) {
        this.isListing = isListing;
    }

    public String getIsListing() {
        return isListing;
    }

    public void setUpListingDate(LocalDateTime upListingDate) {
        this.upListingDate = upListingDate;
    }

    public LocalDateTime getUpListingDate() {
        return upListingDate;
    }

    public void setUnderListingDate(LocalDateTime underListingDate) {
        this.underListingDate = underListingDate;
    }

    public LocalDateTime getUnderListingDate() {
        return underListingDate;
    }

    public void setIsDoubleClick(String isDoubleClick) {
        this.isDoubleClick = isDoubleClick;
    }

    public String getIsDoubleClick() {
        return isDoubleClick;
    }

    public void setIsAnimation(String isAnimation) {
        this.isAnimation = isAnimation;
    }

    public String getIsAnimation() {
        return isAnimation;
    }

    public void setAnimationUrl(String animationUrl) {
        this.animationUrl = animationUrl;
    }

    public String getAnimationUrl() {
        return animationUrl;
    }

    public String getIconSvg() {
        return iconSvg;
    }

    public void setIconSvg(String iconSvg) {
        this.iconSvg = iconSvg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("platformPrice", getPlatformPrice())
                .append("realPrice", getRealPrice())
                .append("icon", getIcon())
                .append("type", getType())
                .append("lable", getLable())
                .append("isListing", getIsListing())
                .append("upListingDate", getUpListingDate())
                .append("underListingDate", getUnderListingDate())
                .append("isDoubleClick", getIsDoubleClick())
                .append("isAnimation", getIsAnimation())
                .append("animationUrl", getAnimationUrl())
                .toString();
    }
}
